package com.map;
import com.map.tool.ScreenSize;
public class MapFrame extends javax.swing.JFrame
{
	private MapPanel mapPanel;
    public MapFrame()
    {
        initComponents();
        this.setBounds((ScreenSize.getWidth()-getWidth())/2, (ScreenSize.getHeight()-500)/2, getWidth(), 500);
    }
    private void initComponents()
    {
        mapPanel = new MapPanel();        
        setTitle("配置查看");
        add(mapPanel);
        pack();
    }
    public static void main(String args[]) 
    {
        java.awt.EventQueue.invokeLater(new Runnable() 
        {
            public void run() 
            {
                new MapFrame().setVisible(true);
            }
        });
    }
}
